package com.example.administrator.zhongyichou.Bean;

import android.support.annotation.NonNull;

import java.io.Serializable;

/**
 * Created by lichenyu on 2017/11/17.
 */

public class BaseEventBean<T> implements Serializable {
    public int code;
    public T data;

    public BaseEventBean(int code) {
        this.code = code;
    }

    public BaseEventBean(int code, @NonNull T data) {
        this.code = code;
        this.data = data;
    }
}
